package com.api.main;

import com.wu.huoshan.service.VideoService;
import redis.clients.jedis.Jedis;

public class t {
    public static void main(String[] args) {
        //连接本地的 Redis 服务
        Jedis jedis = new Jedis("118.89.245.68", 6379);
        System.out.println("连接成功");
        //查看服务是否运行
        System.out.println("服务正在运行: " + jedis.ping());
        System.out.println("redis 存储的字符串为: " + jedis.get("a"));
        jedis.setex()

        VideoService videoService = new VideoService();

        videoService.caiLie();
    }
}
